<?php
class Product_Service_QualityControlResult
{


	public static function getByCondition($condition=array(),$type='*',$order=array('qcr_id'), $pageSize=0, $page=1)
	{ 
		$obj=new Product_Model_QualityControlResult();
		$rows= $obj->getByCondition( $condition,$type,$order, $pageSize,$page);	
		return $rows;
	}
	
	public function getAdapter(){
		$model = new Product_Model_QualityControlResult();
		return $model->getAdapter();
	}
	
	public static function add($row){
		$model = new Product_Model_QualityControlResult();
		return $model->add($row);
	}
	
	public static function update($row,$id){
		$model = new Product_Model_QualityControlResult();
		return $model->update($row,$id);
	}
	
	public static function delete($qco_id){
		$model = new Product_Model_QualityControlResult();
		return $model->delete($qco_id);
	}
	
	public static function deleteByQciId($qci_id){
		$model = new Product_Model_QualityControlResult();
		return $model->deleteByQciId($qci_id);
	}
	
	public static function getQciIdAll($qci_id){
		$model = new Product_Model_QualityControlResult();
		return $model->getQciIdAll($qci_id);
	}
	
}